import http from '../utils/http'

// 图书列表
interface bookListData {
  limit: number
  pageSize: number,
  category:string,
  search:string
}
export const getBookList = (params: bookListData) => {
  return http.get('/book/list', {params})
}